package chapter3;
import java.util.Scanner;
public class shu3 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        int a=input.nextInt();
        String b=input.next();
        int c=input.nextInt();
        switch (b){
            case"+":
                System.out.println(a+c);
                break;
            case"-":
                System.out.println(a-c);
                break;
            case"*":
                System.out.println(a*c);
                break;
            case"/":
                System.out.println(a/c);
                break;
            case"%":
                System.out.println(a%c);
            break;
        }
    }
}
